using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;

namespace Shpm.System
{
    public class ShpmPage : Page
    {
        private Hashtable attributes;

        public ShpmPage():base()
        {
            this.attributes = new Hashtable();
        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            if (this.PreviousPage != null && this.PreviousPage is ShpmPage)
            {
                ShpmPage page = (ShpmPage)this.PreviousPage;

                this.attributes = (Hashtable)page.Attributes.Clone();
            }
        }

        public Hashtable Attributes
        {
            get
            {
                return attributes;
            }
        }
    }
}